﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YmtSystem.Infrastructure.EventBusService;

namespace YmtAuth.Domain.EventHistory
{
    public class BlackUserEvent : IEvent
    {
        public string LoginId { get; private set; }
        public string LoginIp { get; private set; }
        public bool IsAdd { get; private set; }
        public BlackUserEvent(string loginId,string loginIp,bool isAdd=false ) 
        {
            this.LoginId = loginId;
            this.LoginIp = loginIp;
            this.IsAdd = isAdd; 
        }
    }
}
